package com.gack.helper.rabbtit;
import java.util.Date;

import org.springframework.amqp.rabbit.annotation.RabbitHandler;
import org.springframework.amqp.rabbit.annotation.RabbitListener;
import org.springframework.stereotype.Component;

@Component

public class HelloReceiver {

//    @RabbitHandler
//    @RabbitListener(queues = "hello")
//    public void process(Long time) {
//        System.out.println("Receiver  : " + time);
//        System.out.println("间隔:" + (System.currentTimeMillis() - time));
//        
//    }
//    
//    
//    @RabbitHandler
//    @RabbitListener(queues = "ibussiness_invoice_queue")
//    public void process2(String value) {
//        System.out.println("财务后台最低开票金额  : " + value);
//        
//    }
//    
//    @RabbitHandler
//    @RabbitListener(queues = "ibussiness_invoice_order")
//    public void process1(String value) {
//        System.out.println("发票信息  : " + value);
//        
//    }
}